<template>
  <a-config-provider :locale="locale" :prefixCls="prefixCls">
    <div class="app">
      <div class="nav">
        <!-- <router-link to="/">Home</router-link> |
        <router-link to="/about">About</router-link> -->
      </div>
      <router-view />
    </div>
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale/zh_CN'

export default {
  data() {
    return {
      locale: zhCN,
      prefixCls: 'ant-kg-cons' // antd前缀
    }
  },
}
</script>

<style lang="less">
body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

.app {
  font-family: Helvetica, Tahoma, Arial, STXihei, '华文细黑', 'Microsoft YaHei',
    '微软雅黑', SimSun, '宋体', Heiti, '黑体', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}

</style>
